
<div >
    <div style="margin-bottom: 20px;">
        <span style="font-size: 30px">问题统计</span>
        <span class="navbar-version" style="color:red">{{partition}}</span>
        <span class="navbar-version" ng-show="!winvisible" ng-click="win.open()">[选择分区]</span>
        <div class="form-group" style="display: inline;float: right;line-height: 42px">
            <select kendo-drop-down-list ng-model="timeType" ng-change="select()"
                    class="myinput">
                <option value="6M">6个月之前到现在</option>
                <option value="3M">3个月之前到现在</option>
                <option value="2M">2个月之前到现在</option>
                <option value="1M">1个月之前到现在</option>
                <option value="3w">3周之前到现在</option>
                <option value="2w">2周之前到现在</option>
                <option value="1w">1周之前到现在</option>
                <option value="pM">上月</option>
                <option value="tM">本月</option>
                <option value="pw">上周</option>
                <option value="tw">本周</option>
                <option value="yd">昨天</option>
                <option value="td">今天</option>
                <option value="12h">12小时</option>
                <option value="4h">4小时</option>
                <option value="1h">1小时</option>
            </select>
        </div>
    </div>
    <div kendo-window="win" k-title="'选择分区'"
         k-width="740" k-height="220" k-visible="false"
         k-on-open="winvisible = true" k-on-close="winvisible = false">

        <div class="partition_box">
            <div  class="partition_section">
                <div class="partition_title">
                    <a href="" ng-click="selectShow('all')">全部</a>
                </div>
                <div class="partition_content_w">
                </div>
            </div>
            <div  class="partition_section">
                <div ng-repeat="item in partitionSource">
                    <div class="partition_title">
                        <a href="">{{item.fname}}</a>
                    </div>
                    <div class="partition_content_w">
                        <div class="partition_link" ng-repeat="k in item.partition">
                            <a href="" ng-click="selectShow(k)">{{k.cname}}</a>
                        </div>
                    </div>
                    <br>
                </div>
                <br>
            </div>
        </div>
    </div>
</div>
<!--<iframe ng-src="{{src}}" frameborder="0" scrolling="auto" height="100%" width="100%"></iframe>-->
<div class="row top10">
        <span class="thumbnail col-md-6"  >
              <div style="height:350px;"    id="slowServiceTop10Echart">
              </div>
        </span>
        <span class="thumbnail col-md-6">
              <div style="height:350px;" id="slowCommTop10Echart" ></div>
        </span>


</div>
<div class="row">
    <div class="col-md-12"  ng-if="sqlTop10 == 0">
         <span class=" col-md-12">
            <div   >
                 <div class="title " >{{partitionName}}慢SQLTop10</div>
                 <div  style="height:280px; "
                       kendo-grid="ELKGrid"
                       k-options="slowSqlGridOptions"
                 >
                  </div>
           </div>
        </span>
        <span class=" col-md-12">
            <div>
                 <div class="title">{{partitionName}}批处理慢SQLTop10</div>
                 <div  style="height:280px; "
                       kendo-grid="ELKGrid"
                       k-options="batchGridOptions">
               </div>
            </div>
        </span>
        <span class="  col-md-12">
            <div >
                 <div class="title">{{partitionName}}电文慢SQLTop10</div>
                  <div  style="height:280px; "
                        kendo-grid="ELKGrid"
                        k-options="xcomGridOptions">
               </div>
            </div>
        </span>
    </div>
    <div class="col-md-12 " ng-if="sqlTop10 == 1" >
         <span class=" col-md-12">
            <div  >
                 <div class="title" >{{partitionName}}慢SQLTop10</div>
               <div   style="height: 480px;"
                      kendo-grid="ELKGrid"
                      k-options="slowSqlGridOptions">
               </div>
           </div>
        </span>

    </div>
</div>

